import request from '@/utils/request'

// 会员等级列表
export function apiUserMemberLists(params: any) {
    return request.get({ url: '/member.user_member/lists', params })
}

// 会员等级列表
export function apiUserMemberAll(params?: any) {
    return request.get({ url: '/member.user_member/all', params })
}

// 添加会员等级
export function apiUserMemberAdd(params: any) {
    return request.post({ url: '/member.user_member/add', params })
}

// 编辑会员等级
export function apiUserMemberEdit(params: any) {
    return request.post({ url: '/member.user_member/edit', params })
}

// 删除会员等级
export function apiUserMemberDelete(params: any) {
    return request.post({ url: '/member.user_member/delete', params })
}

// 会员等级详情
export function apiUserMemberDetail(params: any) {
    return request.get({ url: '/member.user_member/detail', params })
}

//设置用户会员等级
export function apiSetUserMember(params: any) {
    return request.post({ url: '/member.user_member/setUserMember', params })
}